package com.ruoyi.marketing.domain;

import lombok.*;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 营销奖励对象 marketing_award
 *
 * @author hao
 * @date 2023-01-30
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("marketing_award")
public class MarketingAward extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 奖励id */
    @TableId(type = IdType.AUTO)
    @TableField("award_id")
    private Long awardId;

    /** 奖励名称 */
    @Excel(name = "奖励名称")
    @TableField("award_name")
    private String awardName;

    /**
     * 活动id
     */
    @TableField("activity_id")
    private Long activityId;

    /** 是否关联库存 */
    @Excel(name = "是否关联库存")
    @TableField("is_repertory")
    private Long isRepertory;

    /** 获奖概率 */
    @Excel(name = "获奖概率")
    @TableField("probability")
    private Double probability;

    /** 产品图 */
    @Excel(name = "产品图")
    @TableField("product_image")
    private String productImage;
}
